package com.trungsi.rest;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created with IntelliJ IDEA.
 * User: trungsi
 * Date: 11/04/13
 * Time: 22:17
 * To change this template use File | Settings | File Templates.
 */
@Path("/helloworld")
public class HelloworldResource {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return "hello world";
    }
}
